﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DCTEDU_/HeThongMaster.master" AutoEventWireup="true"
    CodeBehind="CNThoiKhoaBieu.aspx.cs" Inherits="QuanLyThietBi.DCTEDU_.QuanTri.CNThoiKhoaBieu" %>

<%@ Register Assembly="CuteWebUI.AjaxUploader" Namespace="CuteWebUI" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Cập nhật Thời khóa biểu</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:HiddenField ID="H_CatalogId" Value="0" runat="server" />
            <aside class="right-side">  
        <section class="panel">
            <div class="row">
                          <section class="col-lg-12 connectedSortable">
                         <div class="box box-warning">
                                <div class="box-header">
                                   <header class="panel-heading">
                Thời khóa biểu
                                       <asp:Button ID="Button4" runat="server"
                                                   Style="float: right; position: relative; bottom: 5px; margin-left: 5px;"
                                                   OnClick="cmdBack_OnClick" Text="Quay lại" CssClass="btn btn-primary btn-image-back"/>
                <asp:Button ID="cmdLuu" runat="server" 
                 Style="float: right; position: relative; bottom: 5px;"
                OnClick="cmdSave_OnClick" Text="Lưu lại" CssClass="btn btn-primary btn-image-save" /> 
            </header>
                                </div><!-- /.box-header -->
<div class="panel-body">     
<div class="row">   
<div class="col-xs-12 form-group">
<div class="row">   
<div class="col-xs-6 form-group">
              <label>Mã Lớp học phần<font color="red">(*)</font></label>    
              <asp:TextBox ID="txtMaLopHP" CssClass="form-control canh-float-left" MaxLength="12" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="True"
                        ControlToValidate="txtMaLopHP" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>
</div>  
<div class="col-xs-6 form-group">
              <label>Thời gian bắt đầu<font color="red">(*)</font></label>    
              <asp:TextBox ID="txtThoiGian" CssClass="form-control canh-float-left"  placeholder="dd/MM/yyyy"  MaxLength="10" runat="server"></asp:TextBox>    
            <asp:ImageButton ID="ImageNgayChiDinh" style="float: right;"  runat="server" CausesValidation="false" ImageUrl="~/Images/calendar_popup.png" />       
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" SetFocusOnError="True"
                        ControlToValidate="txtThoiGian" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator> 
                       
                                <cc2:CalendarExtender ID="CalendarExtender1" TargetControlID="txtThoiGian" Format="dd/MM/yyyy"
                                    PopupButtonID="ImageNgayChiDinh" runat="server">
                                </cc2:CalendarExtender>
</div>  
</div>
  <div class="row">  
  <div class="col-xs-6 form-group">
       
                          <label>Từ tiết</label>             
<asp:TextBox ID="txtTuTiet" CssClass="spinner-input form-control canh-float-left" Text="0" MaxLength="3" runat="server"></asp:TextBox>  
 <div class="spinner-buttons input-group-btn btn-group-vertical" style="    float: right;
    position: relative;
    top: -10px;
    right: -204px;
    width: 20px;">
     <asp:LinkButton runat="server" ID="cmdTuUp" CausesValidation="False" OnClick="cmdTuUp_OnClick" CssClass="btn spinner-up btn-xs btn-default"><i class="fa fa-angle-up"></i></asp:LinkButton>   
     <asp:LinkButton runat="server" ID="cmdTuDown" CausesValidation="False" OnClick="cmdTuDown_OnClick" CssClass="btn spinner-down btn-xs btn-default"><i class="fa fa-angle-down"></i></asp:LinkButton>
                                                    </div>
 <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Chỉ chấp nhận kiểu số"
                        Display="Dynamic" ValidationExpression="\d+" ControlToValidate="txtTuTiet"></asp:RegularExpressionValidator>
    
             </div>   
              <div class="col-xs-6 form-group">
                          <label>Đến tiết</label>             
<asp:TextBox ID="txtDenTiet" CssClass="form-control canh-float-left" Text="0" MaxLength="3" runat="server"></asp:TextBox>   
<div class="spinner-buttons input-group-btn btn-group-vertical" style="    float: right;
    position: relative;
    top: -10px;
    right: -204px;
    width: 20px;">
     <asp:LinkButton runat="server" ID="cmdDenUp" CausesValidation="False" OnClick="cmdDenUp_OnClick" CssClass="btn spinner-up btn-xs btn-default"><i class="fa fa-angle-up"></i></asp:LinkButton>   
     <asp:LinkButton runat="server" ID="cmdDenDown" CausesValidation="False" OnClick="cmdDenDown_OnClick" CssClass="btn spinner-down btn-xs btn-default"><i class="fa fa-angle-down"></i></asp:LinkButton>
                                                    </div>
 <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Chỉ chấp nhận kiểu số"
                        Display="Dynamic" ValidationExpression="\d+" ControlToValidate="txtDenTiet"></asp:RegularExpressionValidator>

             </div> 
   </div> 
     <div class="row">  
  <div class="col-xs-6 form-group">      
   <label>Chọn Phòng<span style="color: Red">(*)</span></label>
   
                        <asp:DropDownList ID="cboPhong" CssClass="form-control canh-float-left error" runat="server">
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" SetFocusOnError="True"
                                    ControlToValidate="cboPhong" InitialValue="0" Display="Dynamic" ErrorMessage=" (*)"></asp:RequiredFieldValidator>


        </div> 
 </div> 
 </div> 
 </div> 
 </div>   
 </div>   
 </section>
 </aside>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
